package com.ossjk.oa.attendance.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.ossjk.core.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 考勤申报
 *
 * @Author Datou
 * @Version 1.0, 2020-05-28
 * @See
 * @Since com.ossjk.oa.attendance.entity
 * @Description: TODO
 */
@ApiModel(description = "考勤申报")
public class Atdreport extends BaseEntity<Atdreport> {

    private static final long serialVersionUID = 1L;

//	/**
//	 * id
//	 */
//	@TableId("id")
//	private String id;
    /**
     * 员工id
     */
    @ApiModelProperty(name = "eid", dataType = "String", value = "员工id")
    @TableField("eid")
    private String eid;
    /**
     * 部门id
     */
    @ApiModelProperty(name = "did", dataType = "String", value = "部门id")
    @TableField("did")
    private String did;
    /**
     * 年
     */
    @ApiModelProperty(name = "year", dataType = "String", value = "年")
    @TableField("year")
    private String year;
    /**
     * 月
     */
    @ApiModelProperty(name = "month", dataType = "String", value = "月")
    @TableField("month")
    private String month;
    /**
     * 日
     */
    @ApiModelProperty(name = "day", dataType = "String", value = "日")
    @TableField("day")
    private String day;
    /**
     * 类型：1-加班、2-带薪年假、3-带薪调休、4-普通请假，5-外出
     */
    @ApiModelProperty(name = "type", dataType = "BigDecimal", value = "类型：1-加班、2-带薪年假、3-带薪调休、4-普通请假，5-外出")
    @TableField("type")
    private BigDecimal type;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remarks", dataType = "String", value = "备注")
    @TableField("remarks")
    private String remarks;
    /**
     * 审核人id
     */
    @ApiModelProperty(name = "rwid", dataType = "String", value = "审核人id")
    @TableField("rwid")
    private String rwid;
    /**
     * 审核时间
     */
    @ApiModelProperty(name = "rwtm", dataType = "Date", value = "审核时间")
    @JSONField(format = "yyyy-MM-dd")
    @TableField("rwtm")
    private Date rwtm;
    /**
     * 审核状态：1-待审核、2-通过、3-不通过
     */
    @ApiModelProperty(name = "rwst", dataType = "BigDecimal", value = "审核状态：1-待审核、2-通过、3-不通过")
    @TableField("rwst")
    private BigDecimal rwst;
    /**
     * 审核原因
     */
    @ApiModelProperty(name = "rwrs", dataType = "String", value = "审核原因")
    @TableField("rwrs")
    private String rwrs;
    /**
     * 时长
     */
    @ApiModelProperty(name = "duration", dataType = "BigDecimal", value = "时长")
    @TableField("duration")
    private BigDecimal duration;
    /**
     * 日期
     */
    @ApiModelProperty(name = "date", dataType = "Date", value = "日期")
    @JSONField(format = "yyyy-MM-dd")
    @TableField("date")
    private Date date;

//	public String getId() {
//		return id;
//	}
//
//	public void setId(String id) {
//		this.id = id;
//	}

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public BigDecimal getType() {
        return type;
    }

    public void setType(BigDecimal type) {
        this.type = type;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getRwid() {
        return rwid;
    }

    public void setRwid(String rwid) {
        this.rwid = rwid;
    }

    public Date getRwtm() {
        return rwtm;
    }

    public void setRwtm(Date rwtm) {
        this.rwtm = rwtm;
    }

    public BigDecimal getRwst() {
        return rwst;
    }

    public void setRwst(BigDecimal rwst) {
        this.rwst = rwst;
    }

    public String getRwrs() {
        return rwrs;
    }

    public void setRwrs(String rwrs) {
        this.rwrs = rwrs;
    }

    public Date getCrtm() {
        return crtm;
    }

    public void setCrtm(Date crtm) {
        this.crtm = crtm;
    }

    public String getCrer() {
        return crer;
    }

    public void setCrer(String crer) {
        this.crer = crer;
    }

    public Date getMdtm() {
        return mdtm;
    }

    public void setMdtm(Date mdtm) {
        this.mdtm = mdtm;
    }

    public String getMder() {
        return mder;
    }

    public void setMder(String mder) {
        this.mder = mder;
    }

    public BigDecimal getState() {
        return state;
    }

    public void setState(BigDecimal state) {
        this.state = state;
    }

    public BigDecimal getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(BigDecimal isdelete) {
        this.isdelete = isdelete;
    }

    public BigDecimal getDuration() {
        return duration;
    }

    public void setDuration(BigDecimal duration) {
        this.duration = duration;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Atdreport{" + ", id=" + id + ", eid=" + eid + ", did=" + did + ", year=" + year + ", month=" + month + ", day=" + day + ", type=" + type + ", remarks=" + remarks + ", rwid=" + rwid + ", rwtm=" + rwtm + ", rwst=" + rwst + ", rwrs=" + rwrs + ", crtm=" + crtm + ", crer=" + crer + ", mdtm=" + mdtm + ", mder=" + mder + ", state=" + state + ", isdelete=" + isdelete + ", duration=" + duration + ", date=" + date + "}";
    }
}
